{% extends 'base.html' %}

{% block content%}
    <a href="{% url employees_bdays previous_day.month previous_day.day %}">{{ previous_day|date:"F d" }}</a> |
    {{ day|date:"F d" }} |
    <a href="{% url employees_bdays next_day.month next_day.day %}">{{ next_day|date:"F d" }}</a>
    <br>
    {% for object in object_list %}
        {{ object.get_full_url|safe }} - {{ object.get_age }}<br>
    {% empty %}
        Никто не празднует сегодня дня рождения!
    {% endfor %}
{% endblock %}